package com.lnking.lnkingplace.controller;


import com.lnking.common.http.ReturnResult;
import com.lnking.lnkingplace.model.request.exhibitionOrMeetingDay.ExhibitionOrMeetingDaySearchRequest;
import com.lnking.lnkingplace.service.IExhibitionOrMeetingDayService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author sn
 * @since 2022-09-23
 */
@RestController
@Api(tags = "展会人数")
@RequestMapping("/exhibition-or-meeting-day")
public class ExhibitionOrMeetingDayController {

    @Autowired
    IExhibitionOrMeetingDayService exhibitionOrMeetingDayService;

    @ApiOperation("查询列表")
    @GetMapping("/list")
    public ReturnResult getList(ExhibitionOrMeetingDaySearchRequest params) {
        return ReturnResult.success(exhibitionOrMeetingDayService.pageList(params));
    }
}
